package com.sf.fy.uav.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author LTQ
 * @since 2023-11-20
 */
@TableName("pop_up_screen")
@ApiModel(value = "PopUpScreen对象", description = "")
public class PopUpScreen implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("图片")
    private String img;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("跳转链接")
    private String jumpLink;

    @ApiModelProperty("弹出频率")
    private Integer ejectFrequency;

    @ApiModelProperty("序号")
    private Integer sort;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("当弹出频率为每隔n天时，这个就是n")
    private Integer days;

    @ApiModelProperty("弹出次数")
    private Integer ejectTimes;

    @ApiModelProperty("点击次数")
    private Integer clickTimes;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("处理人")
    private String processedBy;

    private Boolean deleted;

    @ApiModelProperty("跳转类型，0、小程序，1、h5")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer jumpType;

    public Integer getJumpType() {
        return jumpType;
    }

    public void setJumpType(Integer jumpType) {
        this.jumpType = jumpType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getJumpLink() {
        return jumpLink;
    }

    public void setJumpLink(String jumpLink) {
        this.jumpLink = jumpLink;
    }

    public Integer getEjectFrequency() {
        return ejectFrequency;
    }

    public void setEjectFrequency(Integer ejectFrequency) {
        this.ejectFrequency = ejectFrequency;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getEjectTimes() {
        return ejectTimes;
    }

    public void setEjectTimes(Integer ejectTimes) {
        this.ejectTimes = ejectTimes;
    }

    public Integer getClickTimes() {
        return clickTimes;
    }

    public void setClickTimes(Integer clickTimes) {
        this.clickTimes = clickTimes;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getProcessedBy() {
        return processedBy;
    }

    public void setProcessedBy(String processedBy) {
        this.processedBy = processedBy;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public Integer getDays() {
        return days;
    }

    public void setDays(Integer days) {
        this.days = days;
    }

    @Override
    public String toString() {
        return "PopUpScreen{" +
                "id = " + id +
                ", title = " + title +
                ", img = " + img +
                ", startTime = " + startTime +
                ", endTime = " + endTime +
                ", jumpLink = " + jumpLink +
                ", ejectFrequency = " + ejectFrequency +
                ", sort = " + sort +
                ", status = " + status +
                ", ejectTimes = " + ejectTimes +
                ", clickTimes = " + clickTimes +
                ", createTime = " + createTime +
                ", updateTime = " + updateTime +
                ", processedBy = " + processedBy +
                "}";
    }
}
